package com.kxr.literetrofit.network.baseresponse;

/**
 * Created by kongxr on 2018/3/13.
 * 返回结果最终封装
 */
public class BaseResponse<T> {

    private String code;
    private T data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return message;
    }

    public void setMsg(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "XindunResponse{" +
                "code='" + code + '\'' +
                ", data=" + data +
                ", message='" + message + '\'' +
                '}';
    }
}
